$OpenBSD: README-php,v 1.3 2014/05/18 09:29:50 landry Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

You can enable this module by creating a symbolic
link from ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini to
${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini.

    # ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini \
        ${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini

If you plan to use PHP mapscript extension with a chrooted web server, make
sure to copy the libs needed by mapscript.so file binary from ${LOCALBASE}/lib,
but also the projection definitions from libgeotiff and proj packages to the
chroot:

# mkdir -p /var/www/${LOCALBASE}/share/{epsg_csv,proj}
# cp ${LOCALBASE}/share/epsg_csv/* /var/www/${LOCALBASE}/share/epsg_csv
# cp ${LOCALBASE}/share/proj/* /var/www/${LOCALBASE}/share/proj
